package jonggyuni.basic;

import java.util.Scanner;

public class J03_SungJuk_v2 {

	public static void main(String[] args) {
		//성적 처리 프로그렘 v2
		
		//Scanner sc = new Scanner(System.in);
		
		Scanner sc = null;
		
		String name;
		int kor;
		
		sc = new Scanner(System.in);
		System.out.print("이름을 입력하세요 :");
		name = sc.next();
		System.out.print("국어 점수를 입력하세요 :");
		kor = sc.nextInt();
		
		sc.close();//꼭 닫아야함.
		
		System.out.println("이름 : " + name);
		System.out.println("국어 점수 :" + kor);
	}

}
